package testenv.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import testenv.dao.ChildDao;
import testenv.service.ChildService;


@Service
@Transactional
public class ChildServiceImpl implements ChildService {

	@Autowired
	ChildDao childDao;
	
	@Override
	public void deleteChild(Integer childId) {
		childDao.deleteChild(childId);
	}

	
	@Override
	public Integer getChildCount() {
		return childDao.getChildCount();
	}
	
	
	@Override
	public void selectChild() {
		childDao.selectChild();
	}
	
}
